<?php 

/*
<li>
	<a href="<?php echo get_post_type_archive_link(CL_GALLERY_POST_TYPE); ?>" class="box_for_mobile"><?php echo get_post_type_object(CL_GALLERY_POST_TYPE)->label; ?></a>
</li>
*/

?>
	<hr class="hide_for_mobile" />
	
	<section role="footer">
		<ul id="footer_links" class="alignleft">
			<?php if(!is_user_logged_in()){?>
			<li>
				<a href="<?php echo wp_login_url( get_bloginfo('url') ); ?>" class="box_for_mobile"><?php echo __('Login'); ?></a>
			</li>
			<li>
				<a href="<?php echo site_url('wp-login.php?action=register', 'login'); ?>" class="box_for_mobile"><?php echo __('Register', TRANSLATION_DOMAIN); ?></a>
			</li>				
			<?php } else {?>
			<li class="hide_for_tablet">
				<a href="<?php echo wp_logout_url( get_bloginfo('url') ); ?>" class="box_for_mobile"><?php echo __('Logout'); ?></a>
			</li>			
			<?php } ?>
		</ul>
		
		<ul class="alignright hide_for_mobile">
			<li>
				<span class="hide_for_mobile">Powered by </span><a href="http://www.malhumorado.es/" class="box_for_mobile">Malhumorado.es</a><span class="hide_for_mobile"> and </span><a href="http://wordpress.org/" class="box_for_mobile">WordPress</a>
			</li>
		</ul>
		
		<div class="clear"></div>
	</section>

</div><!-- [role="page"] -->

<div id="user_modal" class="hide_for_mobile">
	<?php if(!is_user_logged_in()){?>
	<a href="<?php echo wp_login_url( get_bloginfo('url') ); ?>">
		<span><?php echo __('Login'); ?></span>
	</a>
	<a href="<?php echo site_url('wp-login.php?action=register', 'login'); ?>">
		<span><?php echo __('Register', TRANSLATION_DOMAIN); ?></span>
	</a>	
	<?php } else {?>
	<a href="<?php echo wp_logout_url( get_bloginfo('url') ); ?>">
		<span><?php echo __('Logout'); ?></span>
	</a>	
	<?php }?>
</div>


<?php wp_footer(); ?>

</body>
</html>